import Vue from 'vue'
import App from './App'
import router from './router'
import permission from './core/permission'
import usePlugin from './plugin/use';
import api from './core/api'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
// 携带cookie 同源策略
// axios.defaults.withCredentials=true;
Vue.config.productionTip = false;
Vue.prototype.$api = api;

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
